/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: PointCardEventResponse.java
 *   @Date: 18-11-30 下午5:55
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.point.bean;

import io.bhex.baselib.network.response.BaseResponse;

public class PointCardEventResponse extends BaseResponse {

    /**
     * releaseTime : 0
     * isSellOut : true
     * remainTime : 0
     * pointBaseQuota : {"base":1,"quota":{"USDT":0.42223916808750145,"ETH":0.0035941357776692467,"BTC":1.0E-4}}
     * pointCardMetaData : {"basedTokenId":"BTC","basedTokenRate":"0.0001","quoteTokenRate":"10000"}
     */

    private long releaseTime;
    private boolean isSellOut;
    private long remainTime;
    private PointBaseQuotaBean pointBaseQuota;
    private PointCardMetaDataBean pointCardMetaData;

    public long getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(long releaseTime) {
        this.releaseTime = releaseTime;
    }

    public boolean isIsSellOut() {
        return isSellOut;
    }

    public void setIsSellOut(boolean isSellOut) {
        this.isSellOut = isSellOut;
    }

    public long getRemainTime() {
        return remainTime;
    }

    public void setRemainTime(long remainTime) {
        this.remainTime = remainTime;
    }

    public PointBaseQuotaBean getPointBaseQuota() {
        return pointBaseQuota;
    }

    public void setPointBaseQuota(PointBaseQuotaBean pointBaseQuota) {
        this.pointBaseQuota = pointBaseQuota;
    }

    public PointCardMetaDataBean getPointCardMetaData() {
        return pointCardMetaData;
    }

    public void setPointCardMetaData(PointCardMetaDataBean pointCardMetaData) {
        this.pointCardMetaData = pointCardMetaData;
    }

    public static class PointBaseQuotaBean {
        /**
         * base : 1
         * quota : {"USDT":0.42223916808750145,"ETH":0.0035941357776692467,"BTC":1.0E-4}
         */

        private String base;
        private QuotaBean quota;

        public String getBase() {
            return base;
        }

        public void setBase(String base) {
            this.base = base;
        }

        public QuotaBean getQuota() {
            return quota;
        }

        public void setQuota(QuotaBean quota) {
            this.quota = quota;
        }

        public static class QuotaBean {
            /**
             * USDT : 0.42223916808750145
             * ETH : 0.0035941357776692467
             * BTC : 1.0E-4
             */

            private String USDT;
            private String ETH;
            private String BTC;

            public String getUSDT() {
                return USDT;
            }

            public void setUSDT(String USDT) {
                this.USDT = USDT;
            }

            public String getETH() {
                return ETH;
            }

            public void setETH(String ETH) {
                this.ETH = ETH;
            }

            public String getBTC() {
                return BTC;
            }

            public void setBTC(String BTC) {
                this.BTC = BTC;
            }
        }
    }

    public static class PointCardMetaDataBean {
        /**
         * basedTokenId : BTC
         * basedTokenRate : 0.0001
         * quoteTokenRate : 10000
         */

        private String basedTokenId;
        private String basedTokenRate;
        private String quoteTokenRate;

        public String getBasedTokenId() {
            return basedTokenId;
        }

        public void setBasedTokenId(String basedTokenId) {
            this.basedTokenId = basedTokenId;
        }

        public String getBasedTokenRate() {
            return basedTokenRate;
        }

        public void setBasedTokenRate(String basedTokenRate) {
            this.basedTokenRate = basedTokenRate;
        }

        public String getQuoteTokenRate() {
            return quoteTokenRate;
        }

        public void setQuoteTokenRate(String quoteTokenRate) {
            this.quoteTokenRate = quoteTokenRate;
        }
    }
}
